<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./lib/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/moban.css">
    <link rel="stylesheet" href="./css/getbrand.css">
    <title>Document</title>
</head>

<body>
    <header>
        <div class="header-top">
            <div class="logo"></div>
            <div class="uplode"></div>
        </div>
        <div class="header-bottom">
            <div class="header-bottom-left">
                <input type="text" placeholder="请输入你想比价的商品">
            </div>
            <a href="javascript:;" class="search">搜索</a>
        </div>
    </header>
    <!-- 导航 -->
    <div class="nav">
        <a href="index.html">首页 ></a>
        <a href="brandTitle.html">全部分类 ></a>
        <a href="brandTitle.html">品牌大全 ></a>
    </div>
    <!-- 品牌列表 -->
    <div class="brand">
        <div class="brand_title">平板电视哪个牌子好</div>
        <div class="brand_list">
            <ul>
                <!-- 使用模板引擎 -->
            </ul>
        </div>
    </div>
    <!-- 销量排行 -->
    <div class="rank">
        <div class="rank_title">平板电视产品销量排行</div>
        <div class="rank-list">
            <ul>
                <!-- 销量排行模板 -->
            </ul>
        </div>
    </div>
    <!-- 评论 -->
    <div class="comment">
        <div class="comment_title">平板电视最新评论
            < </div>
                <div class="comment-list">
                    <ul>
                        <!--评论  -->
                    </ul>
                </div>
        </div>
    </div>
    <footer>
        <div class="direct">
            <a href="javascript:;" class="search">登录</a>
            <a href="javascript:;" class="search">注册</a>
            <a href="#" class="backTop">
                <span></span>返回顶部</a>
        </div>
        <div class="copyright">
            <p>
                <a href="javascript:;">手机APP下载</a> 慢慢买手机版 --
                <span>掌上比价平台</span>
            </p>
            <a href="javascript:;">m.manmanbuy.com</a>
        </div>
    </footer>
</body>
<script src="./lib/zepto/zepto.js"></script>
<script src="./lib/arttemplate/template-web.js"></script>
<script src="./js/getbrand.js"></script>
<!-- 品牌列表 -->
<script type="text/template" id="brandTmp">
    {{each data value index}}
    <li>
        <a href="javascript:;">
            <span class="num">{{index+1}}</span>
            <span class="brandname">{{value.brandName}}</span>
            <div class="sale">{{value.brandInfo}}</div>
            <i class="fa fa-angle-right"></i>
        </a>
    </li>
    {{/each}}
</script>
<!-- 销量排行 -->
<script type="text/template" id="rankTmp">
    {{each data value}}
    <li>
        <a href="javascript:;">
            {{@ value.productImg}}
            <div class="rank_info">
                <div class="tit">{{value.productName}}</div>
                <div class="price">
                    <span>{{value.productPrice}}</span>
                    <span></span>
                </div>
                <div class="other">
                    <span>{{value.productQuote}}</span>
                    <span>全网{{value.productCom}}</span>
                </div>
            </div>
        </a>
    </li>
    {{/each}}
</script>
<!-- 评论 -->
<script type="text/template" id="comTmp">
    {{each data value}}
    <li>
        <a href="javascript:;">
            <img src="./images/3.jpg" alt="">
            <div class="tit">LG 49LF5400 49英寸 全高清 普通LED液晶电视</div>
        </a>
        <div class="comment_box">
            <a href="javascript:;">
                <div class="name">
                    <div class="name_content">
                        <span>{{value.comName}}</span>
                        <span class="star">
                            <span class="fa fa-star"></span>
                            <span class="fa fa-star"></span>
                            <span class="fa fa-star"></span>
                            <span class="fa fa-star"></span>
                            <span class="fa fa-star"></span>
                        </span>
                    </div>
                    <span>{{value.comTime}}</span>
                </div>
                <div class="con">
                    {{value.comContent}}
                </div>
            </a>
        </div>
    </li>
    {{/each}}
</script>

</html>